package com.jingdianjichi.subject.application.converter;


import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectLabelDTOConverter {

    SubjectLabelDTOConverter Instance = Mappers.getMapper(SubjectLabelDTOConverter.class);

    SubjectLabelBO LabelDTOconveeterBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> BOconverterDTO(List<SubjectLabelBO> boList);
}
